﻿html {
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    font-size: 12px;
    color: #657180;
    line-height: 1.5;
}

.preview_frame {
    padding-top: 80px;
    width: 100%;
    overflow-x: hidden;
}

.flex-container {
    display: flex;
}

.header-bar {
    height: 80px;
    margin-bottom: 0;
    transition: .5s;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    padding: 0 200px;
    border-bottom: 1px solid #ececec;
}


.header-bar__logo {
    font-size: 0;
    margin-right: 20px;
    align-self: center;
}

    .header-bar__logo .logoImg {
        height: 60px;
        width: 60px;
    }

.header-bar__nav-container {
    flex: 1;
    height: 100%;
}

.header-bar__nav, .header-bar__nav-href {
    display: flex;
}

.header-bar__nav {
    position: relative;
    align-items: stretch;
    white-space: nowrap;
}

.header-bar__nav-href {
    cursor: pointer;
    color: #707070;
    padding: 0 20px;
    font-size: 16px;
    line-height: 22px;
    align-items: center;
}

a {
    color: #00a8e9;
    transition: .5s;
    cursor: pointer;
    text-decoration: none;
}

    a:visited {
        text-decoration: none;
    }

    a:focus {
        text-decoration: none;
    }

    a:hover {
        color: #00a8e9;
    }

.header-bar__nav-button {
    display: flex;
    align-items: center;
    align-self: center;
    margin-left: 13px;
    font-size: 16px;
}

.el-button {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #dcdfe6;
    appearance: none;
    text-align: center;
    outline: none;
    margin: 0;
    transition: .1s;
    user-select: none;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 4px;
}

.el-button--primary {
    color: #fff;
    background-color: #00a8e9;
    border-color: #00a8e9;
}

    .el-button--primary:hover {
        color: #fff;
        background-color: #33b9ed;
        border-color: #33b9ed;
    }

.footer-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    background: rgba(75,75,75,1);
    color: #fff;
}

.tplp-section__content {
    padding: 10px 0;
}

.carousel-item img {
    width: 100%;
    heigth: 100%;
}

.tplp-section__wrapper {
    margin: 25px 0;
    padding: 0 30px 0 40px;
}

.tplp-section__title {
    font-weight: 500;
    font-size: 30px;
    margin: 0;
    margin-bottom: 15px;
    color: #4a4a4a;
    text-align: center;
}

.tplp-products {
    height: auto;
    box-sizing: border-box;
}

.tplp-products__item {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5%;
    box-sizing: border-box;
}

    .tplp-products__item:hover {
        box-shadow: 0px 0px 10px 1px rgba(0,0,0,.1);
    }

        .tplp-products__item:hover .tplp-products__item-image img {
            transform: scale(1.08);
        }

        .tplp-products__item:hover .tplp-products__item-name {
            color: rgba(239,65,54,1);
        }


.tplp-products__item-image {
    position: relative;
    width: 100%; /*相当于100px*/
    padding-top: 100%;
    overflow: hidden;
}

    .tplp-products__item-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%; /*相当父元素的100%是100px*/
        height: 100%; /*相当父元素的100%是100px*/
        transition: all 0.36s ease;
    }

.tplp-products__item-name {
    margin-top: 10px;
    font-size: 16px;
    font-family: 微软雅黑;
    color: rgba(51, 51, 51,1);
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
}


.tplp-section__about {
    padding: 20px;
    background-image: url(/Content/Images/AboutMeBg.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

    .tplp-section__about p {
        margin: 10px 0;
        font-size: 18px;
        color: #000;
    }


.tplp-contacts {
    margin-bottom: 50px;
}

.tplp-contacts__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .tplp-contacts__item img {
        width: 50px;
        height: 50px;
    }

.tplp-contacts__item-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 2;
    margin-top: 10px;
}

.tplp-contacts__item-value {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

    .tplp-contacts__item-value.is-active {
        background-color: #E53333;
        color: #FFFFFF;
    }
